﻿CREATE TABLE [dbo].[HumanResourceDept] (
    [Id]          VARCHAR (50)  NOT NULL,
    [Level]       SMALLINT      NOT NULL,
    [Description] NVARCHAR (50) NOT NULL,
    [ParentId]    VARCHAR (50)  NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF),
    FOREIGN KEY ([ParentId]) REFERENCES [dbo].[HumanResourceDept] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION
);







